import {legacy_createStore as createStore,applyMiddleware,combineReducers} from 'redux'

import login_reducer from './reducers/login_reducer'
import thunk from "redux-thunk";

const allReducer=combineReducers({
    loginState:login_reducer,
})


const store=createStore(allReducer,applyMiddleware(thunk))

export default store